package com.cheer.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @author cheer
 */
@Data
public class OaCertDTO {

    private Integer userId;

    @NotBlank(message = "请输入身份证号码")
    @Length(max = 50, message = "身份证号码字符数不能超过50")
    private String certNumber;

    @NotBlank(message = "请输入真实姓名")
    @Length(max = 50, message = "真实姓名字符数不能超过50")
    private String realName;

}
